<?php

namespace App\Http\Controllers\Api;

use DB;

class ManagerController
{
    //管理员列表展示
    public function index() {
        $data = [];
        $data['users'] = DB::table('manager')->where('id', '>', '1')->select( 'username','realname','status','chizheng')->get();
        return out(1, '', $data);
    }
}
